{include file="header.html"}
<div id="rightTop">
    <p>自定义标签</p>
    <ul class="subnav">
        <!--{if $smarty.get.wait_verify}-->
        <li><a class="btn1" href="index.php?app=custom_label">管理</a></li>
        <!--{else}-->
        <li><span>管理</span></li>
        <!--{/if}-->
        <li><a class="btn1" href="index.php?app=custom_label&amp;act=add">添加</a></li>
    </ul>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $res}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td class="table-center">标签名称</span></td>
            <td class="table-center"><span ectype="order_by" fieldname="sort_order">{$lang.sort_order}</span></td>
            <td class="handler">{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$res item=banner}-->
        <tr class="tatr2">
            <td class="firstCell"><input type="checkbox" class="checkitem" value="{$banner.id}" /></td>
            <td class="table-center">{$banner.label_name}</td>
            <td class="table-center"><span ectype="inline_edit" fieldname="sort_order" fieldid="{$banner.id}" datatype="pint" title="{$lang.editable}" class="editable">{$banner.sort_order}</span></td>
            <td class="handler">
                <a href="index.php?app=custom_label&amp;act=edit&amp;id={$banner.id}">{$lang.edit}</a> | <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=custom_label&amp;act=drop&amp;id={$banner.id}');">{$lang.drop}</a>
               </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="12">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $res}-->
    <div id="dataFuncs">
        <div class="pageLinks">
            {include file=page.bottom.html}
        </div>
        <div id="batchAction" class="left paddingT15">
            <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=custom_label&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
        </div>
    </div>
    <div class="clear"></div>
    <!--{/if}-->

</div>
{include file="footer.html"}